a11y: Remove weak ref from atspi.Cache
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 19 Nov 2020 14:25:35 +0000 (14:25 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 19 Nov 2020 15:20:56 +0000 (15:20 +0000)
commitd436c2e8391bc684da933008d5a4483cbc536bc8
tree4277c45afb662db699b6df8a1ca92b2c35633856
parentb37634dcd5c76f6a1294cd1d73bd7bd7dcb9a43b
a11y: Remove weak ref from atspi.Cache

The GtkAtSpiContext is responsible for removing itself from the root,
which will remove itself from the cache. Any code path that leads to the
GtkAtSpiContext instance being collected passes through the
unrealization phase, which will also unregister the context from the
accessibility bus and from the cache.
gtk/a11y/gtkatspicache.c